export default [
  {
    path: '/login',
    name: '登录',
    component: () => import('@/views/login'),
  },
  {
    path: '/loading',
    component: () => import('@/views/loading'),
  },
  {
    path: '/redirect/:path*',
    component: () => import('@/views/redirect'),
  },
  {
    path: '*',
    redirect: {
      path: '/loading',
    },
  },
];
